package com.i2works.smartluolong.web.dal.org.dao;


import com.i2works.smartluolong.utils.basecommon.BaseCommonDAO;
import com.i2works.smartluolong.utils.exception.DAOException;
import com.i2works.smartluolong.web.entity.org.OrgDO;
import com.i2works.smartluolong.web.entity.org.OrgQuery;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 组织机构DAO接口
 *
 * @author koal koal@vip.qq.com
 * @date 2018年03月26日 下午14:48:29
 */

@Mapper
@Repository("orgDAO")
public interface IOrgDAO extends BaseCommonDAO<OrgQuery, OrgDO> {
    /**
     * 查询组织架构树
     */
    List<OrgDO> queryTreeList(OrgQuery query) throws DAOException;



}
